curl --request POST \
--url https://api-lr.agent.ai/v1/action/file_converter_image_to_text_action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_file_url": "<string>",
"output_variable_name": "extracted_text",
"language": "eng"
}
'{
"status": 123,
"response": {}
}Extract text from an image using OCR. Chains image → PDF → OCR → plain text. Returns both a searchable PDF and a .txt file.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/file_converter_image_to_text_action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_file_url": "<string>",
"output_variable_name": "extracted_text",
"language": "eng"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)